package cn.edu.lzu.dao;

import cn.edu.lzu.entity.PastDiseaseHistory;
import org.apache.ibatis.annotations.Insert;

/**
 * @PackageName: cn.edu.lzu.dao
 * @InterfaceName: PastDiseaseHistory
 * @Description: TODO
 * @Author: 张琦[QQ:3098086691]
 * @Date: 2020/4/19 10:40
 * @Version: 1.0
 */

public interface PastDiseaseHistoryMapper {
    @Insert("insert into past_disease_history (past_disease_id, past_disease_name, past_sick_time, past_in_treatment, past_in_medicine, past_medicine_name, record_time, user_identity, is_deleted) values (default, #{pastDiseaseName}, #{pastSickTime}, #{pastInTreatment}, #{pastInMedicine}, #{pastMedicineName}, #{recordTime}, #{userIdentity}, 0)")
    int insPastDiseaseHistoryMsg(PastDiseaseHistory pastDiseaseHistory);
}
